######################################## hello ################################
obj-m = cx2092x.o sunxi-sndi2s0.o
PWD=$(shell pwd)
KERNEL_DIR=/home/wang/backup_tina2.5/lichee/linux-3.4
TOOLCHAIN="/home/wang/backup_tina2.5/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-"
INCLUDE = -I/home/wang/backup_tina2.5/lichee/linux-3.4/sound/soc/sunxi/i2s0
###############################################################################
all:
	make -C $(KERNEL_DIR) \
	ARCH=arm \
	CROSS_COMPILE=$(TOOLCHAIN) \
	M=$(PWD) \
	modules
	
clean:
	rm -f *.ko
	rm -f *.o
	rm -f *.mod.c
	rm -f *.mod.o
	rm -f *.order
	rm -f *.sysvers
  
#make command:
#make
#make clean

